const regex = {
    phone: 11 && /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
    password:  /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,18}$/,
    smscode: /^[0-9]{4}$/,
    txt: /^\s+|\s+$/g,
    email: /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
    cardid: /^(([1][1-5])|([2][1-3])|([3][1-7])|([4][1-6])|([5][0-4])|([6][1-5])|([7][1])|([8][1-2]))\d{4}(([1][9]\d{2})|([2]\d{3}))(([0][1-9])|([1][0-2]))(([0][1-9])|([1-2][0-9])|([3][0-1]))\d{3}[0-9xX]$/,
    qq:/^[1-9][0-9]{4,9}$/gim,

}


export {
    regex
}